import request from '@/utils/request'

export function fetchCommentList(query) {
  return request({
    url: '/vue-element-admin/comment/list',
    method: 'get',
    params: query
  })
}

export function createComment(data) {
  return request({
    url: '/vue-element-admin/comment/create',
    method: 'get',
    data
  })
}

